package com.app.asktom.component;

import java.util.Random;

public class RandomGenerator {
	public static String generateRandomNumber(int length) {
		StringBuilder sb = new StringBuilder(length);
		final Random rand = new Random();
		for(int i = 0 ; i < length; i++) {
			sb.append(String.valueOf(rand.nextInt(10)));
		}
		return sb.toString();
	}
}
